import { ISysGroup } from '/@/views/fileattachment/api/interface';
import { ISysPerson } from '/@/views/fileattachment/api/interface';
import { ISysOrg } from '/@/views/fileattachment/api/interface';

export interface ISysDailySubstitutionRequestBill{
	ID?: string | null;
	PersonId: null;
	Person?: ISysPerson;
	StaffNo: string | null;
	Name: string | null;
	StartTime: Date | null;
	EndTime: Date | null;
	Reason: string | null;
	SubstitutePersonId: null;
	SubstitutePerson?: ISysPerson;
	SubstituteStaffNo: string | null;
	SubstituteName: string | null;
	Approver: string | null;
	ApprovalTime: Date | null;
	GroupId: null;
	Group?: ISysGroup;
	OrgId: null;
	Org?: ISysOrg;
	BillCode: string | null;
	BillStatus?: '草稿' | '正文' | null;
	WorkflowStatus?: '待提交' | '提交中' | '审核中' | '已完成' | '已取消' | '待处理' | '处理中' | '已处理' | null;
	Remark: string | null;
}

export interface ISysDailySubstitutionRequestBillVm{
	Entity: ISysDailySubstitutionRequestBill;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;
	Remark?: string | null;
}

export interface ISysDailySubstitutionRequestBillView extends ISysDailySubstitutionRequestBill{

}

export interface ISysDailySubstitutionRequestBillQuery{
	PersonId?: string | null;
	StaffNo?: string | null;
	Name?: string | null;
	StartTime?: Date | null;
	EndTime?: Date | null;
	Reason?: string | null;
	SubstitutePersonId?: string | null;
	SubstituteStaffNo?: string | null;
	SubstituteName?: string | null;
	Approver?: string | null;
	ApprovalTime?: Date | null;
	GroupId?: string | null;
	OrgId?: string | null;
	BillCode?: string | null;
	BillStatus?: number | null;
	WorkflowStatus?: number | null;
	Remark?: string | null;
}